std::unordered_map::bucket
From Cppreference
< cpp | container | unordered map
| size_type bucket( const Key& key ) const;
| (C++11 feature) | |
Returns the bucket index for the key key.
Contents |
[edit] Parameters
| key | - | the value of the key to examine |
[edit] Return value
bucket index for the key key.
[edit] Complexity
constant
[edit] See also
| returns the number of elements in specific bucket (public member function) | |